//   @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

    .pay-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        background-color: #f5f7fa;
    }

    .pay-header {
        position: sticky;
        top: 0;
        z-index: 100;
        display: flex;
        align-items: center;
        padding: 15px 16px;
        background: linear-gradient(135deg, #4361ee, #3a0ca3);
        color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        .back-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;

            &:hover {
                background: rgba(255, 255, 255, 0.3);
            }

            .van-icon {
                font-size: 16px;
            }
        }

        .title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-right: 70px;
        }
    }

    .pay-content {
        box-sizing: border-box;
        flex: 1;
        padding: 16px;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .section-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 16px;
        color: #1d3557;
        display: flex;
        align-items: center;

        &:before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 16px;
            background: #4361ee;
            border-radius: 2px;
            margin-right: 8px;
        }
    }

    .order-summary {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);

        .order-info {
            margin-bottom: 12px;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 14px;

            .label {
                color: #666;
            }

            .value {
                font-weight: 500;
            }
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            padding-top: 12px;
            margin-top: 8px;
            border-top: 1px solid #eee;
            font-size: 18px;
            font-weight: 600;

            .label {
                color: #333;
            }

            .value {
                color: #ee0a24;
            }
        }
    }

    .payment-methods {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .payment-method {
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid #eee;

        &:last-child {
            margin-bottom: 0;
        }

        &:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transform: translateY(-2px);
        }

        &.selected {
            border-color: #4361ee;
            background-color: rgba(67, 97, 238, 0.05);
        }

        .method-icon {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
            font-size: 20px;
        }

        .method-info {
            flex: 1;

            .method-name {
                font-weight: 600;
                font-size: 16px;
                margin-bottom: 4px;
                color: #1d3557;
            }

            .method-desc {
                font-size: 12px;
                color: #888;
            }
        }

        .method-radio {
            margin-left: 10px;
        }
    }

    .usdt-details {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);

        .payment-instructions {
            background-color: #f8f9ff;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 16px;
            font-size: 14px;
            line-height: 1.6;
            color: #666;

            p {
                margin-bottom: 8px;

                &:last-child {
                    margin-bottom: 0;
                }
            }

            strong {
                color: #ee0a24;
                font-weight: 600;
            }
        }

        .qr-container {
            text-align: center;
            margin-bottom: 20px;

            p {
                margin-top: 10px;
                font-size: 14px;
                color: #666;
            }
        }

        .qr-code {
            width: 180px;
            height: 180px;
            margin: 0 auto;
            background-color: #f9f9f9;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 1px solid #eee;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        .address-container {
            .address-label {
                font-size: 14px;
                color: #666;
                margin-bottom: 8px;
            }

            .address-value {
                display: flex;
                align-items: center;
                justify-content: space-between;
                background: #f8f9ff;
                padding: 12px;
                border-radius: 8px;
                font-family: monospace;
                font-size: 14px;
                word-break: break-all;

                .copy-btn {
                    flex-shrink: 0;
                    margin-left: 10px;
                    display: flex;
                    align-items: center;
                    gap: 4px;
                }
            }
        }

       
    }
 .timer {
            text-align: center;
            font-size: 16px;
            font-weight: 500;
            color: #ee0a24;
            margin-top: 20px;
            padding: 10px;
            background: #fff6f7;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 10px;
        }
    .pay-actions {
        padding: 0 16px;
        margin-bottom: 30px;

        .pay-button {
            font-weight: 600;
            font-size: 16px;
            height: 50px;

            i {
                margin-right: 8px;
                font-size: 18px;
            }
        }
    }

    .success-view {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 40px;
        text-align: center;

        .success-icon {
            margin-bottom: 25px;
            animation: bounce 0.8s ease;
        }

        .success-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #1d3557;
        }

        .success-message {
            font-size: 16px;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .home-btn {
            width: 200px;
            font-weight: 500;
            height: 50px;
            font-size: 16px;
        }
    }

    .pay-footer {
        text-align: center;
        padding: 20px 16px;
        font-size: 12px;
        color: #999;
        background: #fff;
        border-top: 1px solid #f0f0f0;

        p:first-child {
            margin-bottom: 5px;
        }
    }

   
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-15px);
        }

        60% {
            transform: translateY(-7px);
        }
    }

    
    @media (min-width: 768px) {
        .pay-container {
            background: linear-gradient(135deg, #f5f7fa, #e6e9ff);
        }

        .pay-content {
            padding: 30px;
            margin: 20px auto;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            background: #fff;
        }

        .pay-header {
            border-radius: 0 0 20px 20px;
        }

        .success-view {
            background: #fff;
            border-radius: 20px;
            margin: 20px auto;
            max-width: 600px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
    }

    @media (max-width: 480px) {
        .qr-code {
            width: 160px !important;
            height: 160px !important;
        }

        .payment-method {
            padding: 10px;

            .method-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
        }

        .address-value {
            flex-direction: column;
            align-items: flex-start !important;
            gap: 10px;

            .copy-btn {
                margin-left: 0 !important;
                width: 100%;
                justify-content: center;
            }
        }
    }